package org.seckill.entity;

import java.util.Date;

/**秒杀实体
 * Created by yuqin on 2016/6/5.
 */
public class Seckill {
    /**
     * id
     */
    private long seckillId;
    /**
     * 名称
     */
    private String name;
    /**
     * 库存数量
     */
    private int number;
    /**
     * 开始时间
     */
    private Date startTime;
    /**
     * 截止時間
     */
    private Date endTime;
    /**
     * 创建日期
     */
    private Date createTime;

    public long getSeckillId() {
        return seckillId;
    }

    public void setSeckillId(long seckillId) {
        this.seckillId = seckillId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

	@Override
	public String toString() {
		return "Seckill [seckillId=" + seckillId + ", name=" + name + ", number=" + number + ", startTime=" + startTime
				+ ", endTime=" + endTime + ", createTime=" + createTime + "]";
	}
    
    
}
